<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <meta name="Content-Type" content="text/html; charset=UTF-8" />
<title>Class: Sass::Callable</title>
<link rel="stylesheet" href="style.css" tppabs="http://sass-lang.com/docs/yardoc/css/style.css" type="text/css" media="screen" charset="utf-8" />
<link rel="stylesheet" href="common.css" tppabs="http://sass-lang.com/docs/yardoc/css/common.css" type="text/css" media="screen" charset="utf-8" />

<script type="text/javascript" charset="utf-8">
  relpath = '..';
  if (relpath != '') relpath += '/';
</script>
<script type="text/javascript" charset="utf-8" src="jquery.js" tppabs="http://sass-lang.com/docs/yardoc/js/jquery.js"></script>
<script type="text/javascript" charset="utf-8" src="app.js" tppabs="http://sass-lang.com/docs/yardoc/js/app.js"></script>

  </head>
  <body>
    <script type="text/javascript" charset="utf-8">
      if (window.top.frames.main) document.body.className = 'frames';
    </script>
    
    <div id="header">
      <div id="menu">
  
    <a href="_index.html" tppabs="http://sass-lang.com/docs/yardoc/_index.html">Index (C)</a> &raquo; 
    <span class='title'><a href="Sass-1.html" tppabs="http://sass-lang.com/docs/yardoc/Sass.html" title="Sass (module)">Sass</a></span>
     &raquo; 
    <span class="title">Callable</span>
  
  
  <div class="noframes"><span class="title">(</span><a href="javascript:if(confirm(%27http://sass-lang.com/docs/yardoc/Sass/.  \n\nThis file was not retrieved by Teleport Pro, because the server reports that this file cannot be found.  \n\nDo you want to open it from the server?%27))window.location=%27http://sass-lang.com/docs/yardoc/Sass/.%27" tppabs="http://sass-lang.com/docs/yardoc/Sass/." target="_top">no frames</a><span class="title">)</span></div>
</div>

      <div id="search">
  <a id="class_list_link" href="#">Class List</a>
  <a id="method_list_link" href="#">Method List</a>
  <a id ="file_list_link" href="#">File List</a>
</div>

      <div class="clear"></div>
    </div>
    
    <iframe id="search_frame"></iframe>
    
    <div id="content"><h1>Class: Sass::Callable 
  
  
</h1>

<dl class="box">
  
    <dt class="r1">Inherits:</dt>
    <dd class="r1">
      <span class="inheritName">Struct</span>
      
        <ul class="fullTree">
          <li>Object</li>
          
            <li class="next">Struct</li>
          
            <li class="next">Sass::Callable</li>
          
        </ul>
        <a href="#" class="inheritanceTree">show all</a>
      
      </dd>
    
  
  
    
  
    
  
  
    <dt class="r2 last">Defined in:</dt>
    <dd class="r2 last">/var/www/sass-pages/.sass/lib/sass/engine.rb</dd>
  
</dl>
<div class="clear"></div>

<h2>Overview</h2><div class="docstring">
  <div class="discussion">
    <p>A Sass mixin or function.</p>

<dl>
<dt><code>name</code>: <code>String</code></dt>

<dd>The name of the mixin/function.</dd>

<dt><code>args</code>: <code>Array&lt;(Script::Node, Script::Node)&gt;</code></dt>

<dd>The arguments for the mixin/function. Each element is a tuple containing the variable node of the argument and the parse tree for the default value of the argument.</dd>

<dt><code>splat</code>: <code>Script::Node?</code></dt>

<dd>The variable node of the splat argument for this callable, or null.</dd>

<dt><code>environment</code>: <tt><a href="Environment.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Environment.html" title="Sass::Environment (class)">Sass::Environment</a></tt></dt>

<dd>The environment in which the mixin/function was defined. This is captured so that the mixin/function can have access to local variables defined in its scope.</dd>

<dt><code>tree</code>: <code>Array&lt;Tree::Node&gt;</code></dt>

<dd>The parse tree for the mixin/function.</dd>

<dt><code>has_content</code>: <code>Boolean</code></dt>

<dd>Whether the callable accepts a content block.</dd>

<dt><code>type</code>: <code>String</code></dt>

<dd>The user-friendly name of the type of the callable.</dd>
</dl>

  </div>
</div>
<div class="tags">
  
</div>

  
  <h2>Instance Attribute Summary</h2>
  <ul class="summary">
    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#args-instance_method" title="#args (instance method)">- <strong>args</strong> </a>
    

    
  </span>
  
  
    
    
  
  
  
  

  
    <span class="summary_desc"></span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#environment-instance_method" title="#environment (instance method)">- <strong>environment</strong> </a>
    

    
  </span>
  
  
    
    
  
  
  
  

  
    <span class="summary_desc"></span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#has_content-instance_method" title="#has_content (instance method)">- <strong>has_content</strong> </a>
    

    
  </span>
  
  
    
    
  
  
  
  

  
    <span class="summary_desc"></span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#name-instance_method" title="#name (instance method)">- <strong>name</strong> </a>
    

    
  </span>
  
  
    
    
  
  
  
  

  
    <span class="summary_desc"></span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#splat-instance_method" title="#splat (instance method)">- <strong>splat</strong> </a>
    

    
  </span>
  
  
    
    
  
  
  
  

  
    <span class="summary_desc"></span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#tree-instance_method" title="#tree (instance method)">- <strong>tree</strong> </a>
    

    
  </span>
  
  
    
    
  
  
  
  

  
    <span class="summary_desc"></span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#type-instance_method" title="#type (instance method)">- <strong>type</strong> </a>
    

    
  </span>
  
  
    
    
  
  
  
  

  
    <span class="summary_desc"></span>
  
</li>

    
  </ul>


  
  <div id="instance_attr_details" class="attr_details">
    <h2>Instance Attribute Details</h2>
    
      
      <span id="args=-instance_method"></span>
      <span id="args-instance_method"></span>
      <div class="method_details first">
  <p class="signature first" id="args-instance_method">
  
    - <strong>args</strong> 
  

  
</p>
</div>
    
      
      <span id="environment=-instance_method"></span>
      <span id="environment-instance_method"></span>
      <div class="method_details ">
  <p class="signature " id="environment-instance_method">
  
    - <strong>environment</strong> 
  

  
</p>
</div>
    
      
      <span id="has_content=-instance_method"></span>
      <span id="has_content-instance_method"></span>
      <div class="method_details ">
  <p class="signature " id="has_content-instance_method">
  
    - <strong>has_content</strong> 
  

  
</p>
</div>
    
      
      <span id="name=-instance_method"></span>
      <span id="name-instance_method"></span>
      <div class="method_details ">
  <p class="signature " id="name-instance_method">
  
    - <strong>name</strong> 
  

  
</p>
</div>
    
      
      <span id="splat=-instance_method"></span>
      <span id="splat-instance_method"></span>
      <div class="method_details ">
  <p class="signature " id="splat-instance_method">
  
    - <strong>splat</strong> 
  

  
</p>
</div>
    
      
      <span id="tree=-instance_method"></span>
      <span id="tree-instance_method"></span>
      <div class="method_details ">
  <p class="signature " id="tree-instance_method">
  
    - <strong>tree</strong> 
  

  
</p>
</div>
    
      
      <span id="type=-instance_method"></span>
      <span id="type-instance_method"></span>
      <div class="method_details ">
  <p class="signature " id="type-instance_method">
  
    - <strong>type</strong> 
  

  
</p>
</div>
    
  </div>


</div>
    
    <div id="footer">
  Generated on Fri Mar  8 20:33:38 2013 by 
  <a href="javascript:if(confirm(%27http://yardoc.org/  \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address.  \n\nDo you want to open it from the server?%27))window.location=%27http://yardoc.org/%27" tppabs="http://yardoc.org/" title="Yay! A Ruby Documentation Tool">yard</a>
  0.5.3 (ruby-1.8.7).
</div>


  <script type="text/javascript">
  var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
  document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
  </script>
  <script type="text/javascript">
  try {
  var pageTracker = _gat._getTracker("UA-535380-8");
  pageTracker._trackPageview();
  } catch(err) {}</script>


  </body>
</html>